package com.tocea.formation.tpLibraryEjb.service;
import java.util.List;

import javax.ejb.Remote;

import com.tocea.formation.tpLibraryEjb.DTO.AuthorDTO;

@Remote
public interface IAuthorBean{
	
	public void addAuthor(AuthorDTO a);
	public void updateAuthor(AuthorDTO a);
	public void deleteAuthor(AuthorDTO a);
	public List<AuthorDTO> findByNameAuthor(String nom);
	public List<AuthorDTO> getAll();
	void addSimpleAuthor(String fn, String ln);
	AuthorDTO getAuthor(String _firstname, String _lastname);
	
}
